import { Http } from "@/utils/http"

class ShareModel {
	edit(data) {
		return Http.post('v2/share/edit',data)
	}
	
	add() {
		return Http.post('v2/share/add')
	}
	
	join(id, remark) {
		return Http.post('v2/share/join', {id, remark})
	}
	
	detail(id) {
		return Http.post('v2/share/detail', {id})
	}
}

const shareModel = new ShareModel
export default shareModel